New faster Imenu implementation.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 19 Apr 2013 02:31:09 +0000 (23:31 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 19 Apr 2013 02:31:09 +0000 (23:31 -0300)
commit24d725637f050180fa95f13bea8e47317e953eaf
treef177f6b2af4725501f42da7014fc1866ab790ebb
parent01f47c60fe577af17e2fa9b6b08818188fb0ee08
New faster Imenu implementation.

* lisp/progmodes/python.el:
(python-imenu-prev-index-position):
(python-imenu-format-item-label-function)
(python-imenu-format-parent-item-label-function)
(python-imenu-format-parent-item-jump-label-function):
New vars.
(python-imenu-format-item-label)
(python-imenu-format-parent-item-label)
(python-imenu-format-parent-item-jump-label)
(python-imenu--put-parent, python-imenu--build-tree)
(python-imenu-create-index, python-imenu-create-flat-index)
(python-util-popn): New functions.
(python-mode): Set imenu-create-index-function to
python-imenu-create-index.

* test/automated/python-tests.el (python-imenu-prev-index-position-1):
Removed test.
(python-imenu-create-index-1, python-imenu-create-flat-index-1):
New tests.
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el